package com.iraeta.entity.main;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Objects;

/**
 * erp_rdrecord32
 * @author 
 */
public class ErpRdrecord32 implements Serializable {
    private Long autoid;

    private Long id;

    private String cinvcode;

    private BigDecimal iquantity;

    private String cbdlcode;  //发货单号

    private String iordercode;//销售订单号

    private String ccode;

    private Date ddate;

    private String cwhname;

    private static final long serialVersionUID = 1L;

    public Long getAutoid() {
        return autoid;
    }

    public void setAutoid(Long autoid) {
        this.autoid = autoid;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCinvcode() {
        return cinvcode;
    }

    public void setCinvcode(String cinvcode) {
        this.cinvcode = cinvcode;
    }

    public BigDecimal getIquantity() {
        return iquantity;
    }

    public void setIquantity(BigDecimal iquantity) {
        this.iquantity = iquantity;
    }

    public String getCbdlcode() {
        return cbdlcode;
    }

    public void setCbdlcode(String cbdlcode) {
        this.cbdlcode = cbdlcode;
    }

    public String getIordercode() {
        return iordercode;
    }

    public void setIordercode(String iordercode) {
        this.iordercode = iordercode;
    }

    public String getCcode() {
        return ccode;
    }

    public void setCcode(String ccode) {
        this.ccode = ccode;
    }

    public Date getDdate() {
        return ddate;
    }

    public void setDdate(Date ddate) {
        this.ddate = ddate;
    }

    public String getCwhname() {
        return cwhname;
    }

    public void setCwhname(String cwhname) {
        this.cwhname = cwhname;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof ErpRdrecord32)) return false;
        ErpRdrecord32 that = (ErpRdrecord32) o;
        return autoid.equals(that.autoid) && Objects.equals(id, that.id) && Objects.equals(cinvcode, that.cinvcode) && Objects.equals(iquantity, that.iquantity) && Objects.equals(cbdlcode, that.cbdlcode)
                && Objects.equals(iordercode, that.iordercode) && Objects.equals(ccode, that.ccode) && Objects.equals(ddate, that.ddate) && Objects.equals(cwhname, that.cwhname);
    }

    @Override
    public int hashCode() {
        return Objects.hash(autoid, id, cinvcode, iquantity, cbdlcode, iordercode, ccode, ddate, cwhname);
    }
}